<template>
	<view class="pore">
		<u-navbar leftText="返回" :title="title" :fixed="false" :safeAreaInsetTop="true" bgColor="transparent">
			<view class="u-nav-slot flex bgFff radius30 p10 pore" slot="left">
				<image src="https://hxs.dsjhs.com:553/prod-api/profile/yujian/back.png" mode=""
					style="width: 40rpx;height: 40rpx;" @click="back"></image>
				<u-line direction="column" :hairline="false" length="16" margin="0 8px"></u-line>
				<image src="https://hxs.dsjhs.com:553/prod-api/profile/yujian/home.png" mode=""
					style="width: 40rpx;height: 40rpx;" @click="toIndex"></image>
			</view>
		</u-navbar>
	</view>
</template>

<script>
	import {} from '@/common/api.js'
	export default {
		name: '',
		props: {
			title: {
				type: String,
				default: ''
			}
		},
		data() {
			return {

			}
		},
		onLoad(option) {

		},
		methods: {
			back() {
				uni.navigateBack()
			},
			toIndex() {
				uni.reLaunch({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="scss">

</style>